package io.modifier.basic.compose.hooks.android

import android.view.WindowManager
import androidx.compose.runtime.Composable
import io.modifier.basic.compose.hooks.comm.KEY_PREFIX

@Composable
fun useDisableScreenshot(): Triple<DisableFn, EnableFn, IsDisabled> = useWindowFlags(
    key = "${KEY_PREFIX}SCREENSHOT",
    flags = WindowManager.LayoutParams.FLAG_SECURE
)
